import request from '@/utils/request'
//  登陆
export function UserLogin(data) {
  return request({
    method: "post",
    url: "user/login",
    data
  })
}
//  获取菜单
export function UserGetMenus() {
  return request({
    url: "user/queryMenus",
  })
}
export function UserLogOut() {
  return request({
    url: "user/logOut",
  })
}
// 归并
export default {
  UserLogin,
  UserGetMenus,
  UserLogOut
}